import * as React from 'react'
import * as ReactDOM from 'react-dom'
import { configure } from 'mobx'
import { Provider } from 'mobx-react'

import Counter from '@views/Counter'
import * as store from './store'


configure({enforceActions: 'observed'})

const render = () => {
    ReactDOM.render(
        <Provider {...store}>
        <Counter />
        </Provider>,
        document.querySelector('#app')
    )
}
render()